#ifndef FILE_SYSTEM_H
#define FILE_SYSTEM_H

// int file_system_read_block(unsigned int block_num, char *buf);

// int file_system_write_block(unsigned int block_num, char *buf);
int file_system_read_super(char *buf);

int file_system_write_super(char *buf);

struct inode* file_system_read_inode(unsigned int inode_id, char *buf);

void file_system_write_inode(unsigned int inode_id, struct inode* p, char *buf);

int file_system_read_data(unsigned int data_index, char *buf);

int file_system_write_data(unsigned int data_index, char *buf);


#endif